/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const accountRoute = {
  path: '/account',
  component: Layout,
  redirect: '/account/admin',
  name: 'Account',
  meta: {
    title: '账户管理',
    icon: 'el-icon-user'
  },
  children: [
    {
      path: 'admin',
      component: () => import('@/views/account/admin/index.vue'),
      name: 'Admin',
      meta: { title: '管理员管理' }
    },
    {
      path: 'user',
      component: () => import('@/views/account/user/index.vue'),
      name: 'User',
      meta: { title: '用户管理' }
    },

  ]
}

export default accountRoute
